Skip to content

Change some integers in OriginalRecording to more specific types#269

Merged
aacuevas merged 1 commit intoopen-ephys:developmentfrom
tne-lab:original-recording-uint8
Nov 16, 2018
Merged

Change some integers in OriginalRecording to more specific types#269
aacuevas merged 1 commit intoopen-ephys:developmentfrom
tne-lab:original-recording-uint8

Conversation

@ethanbb
Copy link
Copy Markdown
Contributor

@ethanbb ethanbb commented Nov 15, 2018

A couple minor changes that probably won't have any effect. However, the line

recordMarker[9] = 255;

in the constructor was previously assigning to a (signed) char, which is technically undefined behavior and caused a compiler warning. Also, the recordingNumber is written to the file assuming that it's two bytes whereas an int officially could be longer than two bytes.

@aacuevas aacuevas merged commit 84a2379 into open-ephys:development Nov 16, 2018
@ethanbb ethanbb deleted the original-recording-uint8 branch January 23, 2019 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants